﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Project.DAO;
using Project.DBMAPPING;
using Project.IBIZ;
using Project.IDAO;
namespace Project.BIZ
{
   public class CategoryListBIZ : ICategoryListBIZ
    {
        ICategoryListDAO CategoryListDao = new CategoryListDAO();

        /// <summary>
        /// Load product list of a specific category
        /// </summary>
        /// <param name="categoryID">Input category ID</param>
        /// <returns>List of products</returns>
        public IEnumerable<SP_CATEGORY_LOADCATEGORYLISTResult> LoadCategoryList()
        {
            return CategoryListDao.LoadCategoryList();
        }
    }
}
